package czk.jvm.lecture.classloader;

public class MyTest4 {
    public static void main(String[] args) {
        /*Myparent4 myparent4=new Myparent4();
        System.out.println("=====");
        //首次主动使用才初始化
        Myparent4 myparent41=new Myparent4();*/
        //数组不会初始化
        Myparent4[] myparent4s=new Myparent4[1];
        //
       Myparent4 myparent44=new Myparent4();

    }
}
class Myparent4{
    static {
        System.out.println("myparent3");
    }
}
